import Vue from 'vue'
import App from './App'
// import Vant from 'vant';
// Vue.use(Vant);
import local from '@/utils/localStorage.js'
import axios from 'axios'
import {myRequest} from '@/utils/api.js'

Vue.prototype.$myRequest = myRequest
Vue.prototype.axios = axios

Vue.config.productionTip = false



App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount();


console.log("local:"+local.get("token").v)
// 未登录,进入登录页
// if(local.get("token").v == "" || local.get("token").v == undefined){
// 	uni.navigateTo({
// 		url:'/pages/login/login_index'
// 	})
	
// }